import axios from '@/utils/request';

export function getRecordVacationList(params) {
    return axios.post({
        url: '/record-vacation/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editRecordVacation(params) {
    return axios.post({
        url: '/record-vacation/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteRecordVacation(params) {
    return axios.post({
        url: '/record-vacation/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadRecordVacation(params) {
    return axios.post({
        url: '/record-vacation/load',
        data: params
    }).then((res) => {
        return res
    })
}

